package sms_dto

// SendSmsRequest 发送短信请求
type SendSmsRequest struct {
	Phone string `json:"phone" binding:"required,len=11"`
	Scene string `json:"scene" binding:"required"` // 场景：register/login/reset_password
}

// VerifySmsRequest 验证短信验证码请求
type VerifySmsRequest struct {
	Phone string `json:"phone" binding:"required,len=11"`
	Code  string `json:"code" binding:"required,len=6"`
	Scene string `json:"scene" binding:"required"`
}

// SmsResponse 短信发送响应
type SmsResponse struct {
	RequestId string `json:"request_id"` // 请求ID，用于追踪
	ExpireIn  int    `json:"expire_in"`  // 过期时间（秒）
}
